<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let arr = [1,2,3,4,5]
        let b = 1
        let res = arr.some(item => {
          return  item == b
        })
        console.log(res) // true 

        let res3 = arr.some(item => {
            item == b
        })
        console.log(res3) // false



        let res2 = arr.every(item => {
            item == b
        })
        console.log(res2)
    </script>
</body>
</html>